﻿using STHPMS1.ICore.I_DAL;
using STHPMS1.ICore.I_Entity.Info;
using STHPMS1.ICore.I_Entity.Stmpms1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace STHPMS1.ICore.I_Serv
{
    /// <summary>
    /// 路网划分服务
    /// </summary>
    public interface IRoadDividedService:IDisposable
    {
        /// <summary>
        /// 生成路线的路段与单元信息
        /// direction_Dictid 如果为空,并且路线分为上下线的话，就要同时生成上行下行的路段与单元信息
        /// direction_Dictid 如果不为空,则生成路线的指定
        /// </summary>
        /// <param name="rdwayid">路线</param>
        /// <param name="direction_Dictid">方向</param>
        /// <param name="isAll">是否全幅</param>
        void GenerateRoadSegAndUnit(ISthpms1Dao dao, string rdwayid, double version, int direction_Dictid,bool isAll=false);
       
    }
}
